package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenProductClassDao;
import com.ruoyi.project.men.domain.MenProductClassDO;
import com.ruoyi.project.men.service.MenProductClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenProductClassServiceImpl implements MenProductClassService {
	@Autowired
	private MenProductClassDao menProductClassDao;
	
	@Override
	public MenProductClassDO get(String id){
		return menProductClassDao.get(id);
	}
	
	@Override
	public List<MenProductClassDO> list(Map<String, Object> map){
		return menProductClassDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menProductClassDao.count(map);
	}
	
	@Override
	public int save(MenProductClassDO menProductClass){
		return menProductClassDao.save(menProductClass);
	}
	
	@Override
	public int update(MenProductClassDO menProductClass){
		return menProductClassDao.update(menProductClass);
	}
	
	@Override
	public int remove(String id){
		return menProductClassDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menProductClassDao.batchRemove(ids);
	}

    @Override
    public List<MenProductClassDO> likeList(Map<String, Object> map){
        return menProductClassDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menProductClassDao.likeListCount(map);
    }

	@Override
	public List<Map<String, Object>> queryAllForIdAndName(Map<String, Object> map) {
		return menProductClassDao.queryAllForIdAndName(map);
	}



}
